package srzy.module

import srzy.data.PublicData

trait AbsCaseDeal extends srzy.common.Config {
  var caseId = 0
  protected def getCaseName = {
    PublicData.caseInfos.apply(caseId).caseName
  }

  protected def getCaseInfo = {
    PublicData.caseInfos.apply(caseId)
  }
  def setCaseId(i: Int) = { caseId = i }
  def deal: Unit
}